package main.java.fiuba;

public class Node {
	private Object item = null;
	private Node next = null;

	public Node(Object item) {
		this.item = item;
		this.next = null;
	}

	public void setItem(Object item) {
		this.item = item;
	}

	public Object getItem() {
		return this.item;
	}

	public void setNext(Node next) {
		this.next = next;
	}

	public Node getNext() {
		return this.next;
	}
}